package cartagows.wsframework.wscoordination;

public interface WSCoordinationErrorParam {

	//fault
	public static final String FAULT_INVALID_PARAMETER_CODE = "Sender";
	public static final String FAULT_INVALID_PARAMETER_SUBCODE = "wscoor:InvalidParameters";
	public static final String FAULT_INVALID_PARAMETER_REASON = "The message contained invalid parameters and could not be processed.";

	public static final String FAULT_INVALID_PROTOCOL_CODE = "Sender";
	public static final String FAULT_INVALID_PROTOCOL_SUBCODE = "wscoor:InvalidProtocol";
	public static final String FAULT_INVALID_PROTOCOL_REASON = "The protocol is invalid or is not supported by the coordinator.";

	public static final String FAULT_CANNOT_CREATE_CODE = "Sender";
	public static final String FAULT_CANNOT_CREATE_SUBCODE = "wscoor:InvalidProtocol";
	public static final String FAULT_CANNOT_CREATE_REASON = "The protocol is invalid or is not supported by the coordinator.";

	public static final String FAULT_CANNOT_REGISTER_CODE = "Sender";
	public static final String FAULT_CANNOT_REGISTER_SUBCODE = "wscoor:CannotRegisterParticipant";
	public static final String FAULT_CANNOT_REGISTER_REASON = "Participant could not be registered.";

	public static final String FAULT_INCONSISTENT_STATE_CODE = "Sender";
	public static final String FAULT_INCONSISTENT_STATE_SUBCODE = "wsat:InconsistentInternalState";
	public static final String FAULT_INCONSISTENT_STATE_REASON = "Participant could not be registered.";

	//Error string
	public static final String ERR_WRONG_COORD_TYPE = "Error: Wrong participant coordination type specified";
	public static final String ERR_BAD_RESPONSE = "Error: Bad response message received";
	public static final String ERR_BAD_CONTEXT = "Error: Bad Coordination Context";
	public static final String ERR_WRONG_DATA_TYPE = "Error: Wrong data type specified";

}